.root {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  font-size: 1em;
  flex-shrink: 0;
  border: none;
  color: inherit;
  background: transparent;

  &.is-active {
    background: hsla(var(--alinea-negative), 0.1);
  }

  &:active,
  &:focus-visible {
    outline: none;
    background: var(--alinea-background);
    box-shadow: 0 0 0 2px var(--alinea-fields-focus);
  }

  &:hover {
    background: var(--alinea-highlight);
    box-shadow: 0 0 0 2px var(--alinea-highlight);
  }

  &:disabled {
    opacity: 0.5;
    cursor: default;

    &:hover {
      background: transparent;
      box-shadow: none;
    }
  }
}
